package com.xxxt.jxj.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xxxt.entity.ClassGrade;
import com.xxxt.entity.Grade;

public interface GradeService {

	List<Grade> selcetAllGradeBySpecialtyId(String specialtyId);
	
	List<Grade> selcetAllGrade();
	
	List<Grade> selcetAllPageGradeBySpecialtyId(String specialtyId,int pageNum,int pageSize);
	
	Grade selcetOneGradeByGradeId(String gradeId);
	
	boolean insertGrade(Grade grade);
	
	boolean deleteGrade(String gradeId);
	
	boolean updateGrade(@Param("gradeName") String gradeName,@Param("specialtyId") String specialtyId,@Param("id") String id);
	
	List<ClassGrade> selectStudentByTnoAndSpecialty(List<Grade> grades);
}
